﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace DotNet.WebUI.BasicControl
{
    public partial class Navigation : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void Redirect_Click(object sender, EventArgs e)
        {
            //打开当前项目的页面
            Response.Redirect("Login.aspx");
            //打开其它项目的页面
            Response.Redirect("http://www.yngsxy.net");
        }

        protected void btnTransfer_Click(object sender, EventArgs e)
        {
            //打开当前项目的页面
            Server.Transfer("Login.aspx");
            //打开其它项目的页面
            //Server.Transfer("http://www.yngsxy.net");
            //Server.Transfer("http://localhost:1280/LieBK.aspx");
        }

        protected void btnExcute_Click(object sender, EventArgs e)
        {
            Server.Execute("Login.aspx");
        }
    }
}